﻿// <copyright file="SoftricityFileTypeFlags.cs" company="Sinclair Community College">
// Copyright 2010 Sinclair Community College
// </copyright>
// <originalAuthor>Patrick S. Seymour (patrick.seymour@gmail.com)</originalAuthor>

namespace SinclairCC.AppV
{
    /// <summary>
    /// Indicates additional information about the data structures pointed to by the given container.
    /// </summary>
    [System.Flags]
    public enum SoftricityFileTypeFlags : ushort
    {
        /// <summary>
        /// None of the other flags defined here are applicable.
        /// </summary>
        NOT_APPLICABLE = 0x00000000,

        /// <summary>
        /// Application data file (i.e., DLL, Exe, etc.).
        /// </summary>
        FILETYPE_APP_DATA = 0x0001,

        /// <summary>
        /// Application configuration file.
        /// </summary>
        FILETYPE_APP_CONFIG = 0x0002,

        /// <summary>
        /// User data file (i.e., text file).
        /// </summary>
        FILETYPE_USER_DATA = 0x0004,

        /// <summary>
        /// User configuration file.
        /// </summary>
        FILETYPE_USER_CONFIG = 0x0008,

        /// <summary>
        /// The corresponding file/directory cannot be deleted.
        /// </summary>
        FILETYPE_PERMANENT = 0x0010,

        /// <summary>
        /// The corresponding file/directory can be overridden.
        /// </summary>
        FILETYPE_OVERRIDE = 0x0020,

        /// <summary>
        /// The corresponding file/directory has been deleted.
        /// </summary>        
        FILETYPE_DELETED = 0x0040
    }
}
